<?php include 'header.php'; ?>
    <style>
        a.statics {
            -webkit-transition-property: color;
            -webkit-transition-duration: .3s;
            -webkit-transition-timing-function: ease;
            -moz-transition-property: color;
            -moz-transition-duration: .3s;
            -moz-transition-timing-function: ease;
        }
        a.statics:hover {
            color:#5789ad;
        }
        tr.rol {
        -webkit-transition-property: background-color;
            -webkit-transition-duration: .3s;
            -webkit-transition-timing-function: ease;
            -moz-transition-property: background-color;
            -moz-transition-duration: .3s;
            -moz-transition-timing-function: ease;
        }
        tr.rol:hover {
            background-color:#eff1ff;
        }

        .panel-body {
            position:relative;
        }
        .panel-body > div {
            float:left;
            padding:10px;
            width:100%;
            cursor:default;
            border-bottom:solid whitesmoke 1px;
            -webkit-transition-property: background-color;
            -webkit-transition-duration: .3s;
            -webkit-transition-timing-function: ease;
            -moz-transition-property: background-color;
            -moz-transition-duration: .3s;
            -moz-transition-timing-function: ease;
        }

        .panel-body > div.resultado:hover {
            background-color:#eff1ff;
        }

        .panel-body > div > div {
            float:left;
            width:150px;
            font-weight:bold
        }
        .grafica {
            float: none;
            height:20px !important;
            width:20px !important;
            position:absolute;
            right:10px;
            bottom:10px;
        }

        div.tipo {
           width:200px !important; 
        }
    </style>
    <body class=""> 
        <?php include '../menus/menuUsuario.php';  ?>
        <?php include 'sidebar.php'; ?>
    
        <div class="content">
            <div class="header">
                <div class="stats">
                    <?php if (totalDenunciasSinResolver(0)) { ?>
                        <p class="stat"><span class="number"><?php echo totalDenunciasSinResolver(0) ?></span>Denuncias</p>
                    <?php } ?>
                    <?php if (mensajesSinLeer(0) > 0) { ?>
                        <p class="stat"><span class="number"><?php echo mensajesSinLeer(0) ?></span>Mensajes</p>
                    <?php } ?>
                    <p class="stat"><span class="number">15</span>Logs</p>
                </div>

                <h1 class="page-title">Administración</h1>
            </div>

            <div class="container-fluid">
                <div class="row-fluid">
                    <div class="row-fluid">
                        <?php $usuarios = usuariosRegistrados(); ?>
                        <?php $proyectos = proyectosRegistrados(); ?>
                        <?php $ofertas = ofertasRegistradas(); ?>
                        <div class="panel-group" id="accordion" style="margin-top:20px;">
                            <?php include 'panelUsuariosRegistrados.php'; ?>
                            <?php include 'panelProyectosRegistrados.php'; ?>
                            <?php include 'panelOfertasRegistradas.php'; ?>
                            <?php include 'panelRolesRegistrados.php'; ?>
                            <?php include 'panelUsuariosMasActivos.php'; ?>
                        </div>
                    </div>
                </div>
                <?php include 'footer.php' ?>
            </div>
        </div>
    </body>
</html>


